package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Member;
import com.itheima.pojo.Setmeal;

import java.util.List;

public interface MemberService {

    void add(Member member);

    void deleteById(Integer id);

    void edit(Member member);

    Member findById(Integer id);

    Member findByTelephone(String telephone);

    List<Integer> findMemberCountByMonths(List<String> months);

    Integer add4Order(Member member);

    PageResult pageQuery(QueryPageBean queryPageBean);

//    PageResult pageQuery(QueryPageBean queryPageBean);

    List<Member> finAll();
}
